package com.wanxi.dao;

import com.wanxi.entity.UserEntity;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : 林子淳
 * @create 2023/2/23 23:09
 */

public interface UserDao extends BaseDao<UserEntity> {
    UserEntity verifyNameAndPassword(UserEntity userEntity);


    UserEntity addNameComparison(UserEntity userEntity);

    @Override
    int add(UserEntity userEntity);

    @Override
    int delete(UserEntity userEntity);

    @Override
    UserEntity findById(UserEntity userEntity);

    @Override
    List<UserEntity> findAll(UserEntity userEntity);

    @Override
    int update(UserEntity userEntity);

    @Override
    int count(UserEntity userEntity);
}
